SET SOLUTION_NAME="My.SharePoint.STSADM.Commands.wsp"
SET STSADM="C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\bin\stsadm"

%STSADM% -o upgradesolution -local -allowgacdeployment -name %SOLUTION_NAME% -filename %SOLUTION_NAME%
pause